@charset 'utf-8';

body {
  background-color: rgb(245, 232, 232);
}

.center {
  width: 1190px;
  margin: 0 auto;
}

header {
  background-color: #F2F2F2;

  .center {
    font-size: 4px;
    line-height: 27px;
    color: #999999;
    padding-left: 100px;
    display: flex;

    a:hover {
      color: red;

      span {
        color: #999999;
      }

      .trigon {
        transform: rotate(180deg);
        transition: all 2s;
      }
    }

    .left {
      display: flex;

      a {
        padding-right: 20px;
      }

      .text {
        margin-right: 20px;
      }
    }

    .cen {
      padding-left: 155px;
      display: flex;


      a {
        padding-right: 15px;
        position: relative;

        .trigon {
          font-size: 2px;
        }

      }

      .show1 {
        position: relative;

        div {
          width: 100px;
          background-color: white;
          position: absolute;
          padding-left: 10px;
        z-index: 2;

        }
      }

      .show1>div {
        display: none;
      }

      .show1:hover div {
        display: block;
      }

      .show2 {
        position: relative;

        div {
          width: 100px;
          background-color: white;
          position: absolute;
          padding-left: 10px;
        z-index: 2;

        }
      }

      .show2>div {
        display: none;
      }

      .show2:hover div {
        display: block;
      }
    }

    .right {
      display: flex;
      margin-left: 20px;

      >a {
        padding-right: 15px;
      }

      >.show1 {
        position: relative;
        padding-right: 15px;

        div {
          position: absolute;
          display: none;

        }
      }

      .show1:hover div {
        display: block;
      }

      >.show2 {
        position: relative;
        padding-right: 15px;

        >div {
          width: 120px;
          background-color: white;
          position: absolute;
          padding-left: 10px;
        z-index: 2;


          // padding-right: 10px;
          li {
            width: 50px;
            float: left;
          }
        }

      }

      .show2>div {
        display: none;
      }

      .show2:hover div {
        display: block;
      }
    }

  }
}


.classify {
  height: 129px;
  background-color: rgb(248, 60, 61);
  display: flex;

  >.center {
    display: flex;
    justify-content: space-around;
    align-items: center;

    img {
      border-radius: 10px;
    }
  }
}


main {
  display: flex;
  background-color: rgb(245, 232, 232);

  .img1 {
    width: 197.085px;
    overflow: hidden;

    img {
      position: relative;
      left: -162.915px;
    }
  }

  .img2 {
    width: 197.085px;
    overflow: hidden;
  }

  .center {
    .search {
      height: 111px;
      display: flex;
      align-items: center;

      // position: relative;
      .row {
        position: relative;
        left: 160px;

        button {
          color: white;
          position: relative;
          top: 0px;
          left: -90px;
          z-index: 5;
        }
      }
    }

    .nav {
      height: 43px;
      display: flex;
      align-items: center;

      >h2 {
        color: red;
        margin-left: 25px;
        margin-right: 150px;
        font-weight: 600;
      }

      a {
        font-size: 15px;
        margin-right: 20px;

        &:hover {
          color: red;
          text-decoration: underline;
        }
      }
    }

    .theme {
      width: 100%;
      height: 533px;
      margin-top: 10px;
      display: flex;
      justify-content: space-around;

      >.left {
        width: 212px;
        height: 100%;
        margin-left: 4px;

        ul {
          padding-top: 10px;

          li {
            height: 32px;

            a {
              font-size: 14px;
              line-height: 32px;

              &:hover {
                color: red;
              }
            }

            span {
              padding-left: 12px;
              padding-right: 12px;
            }
          }
        }
      }

      .cen {
        width: 520px;
        height: 100%;
        display: flex;


        .top {
          width: 520px;
          height: 280px;
          margin-top: 0;
          background-color: aqua;
          border-radius: 10px;
        }

        .down {
          width: 520px;
          height: 200px;
          margin-top: 40px;
          border-radius: 10px;

          .box {
            display: flex;
            justify-content: space-between;

          }

          // .box{
          //   width: 520px;
          //   height: 200px;
          // }
        }
      }

      >.right {
        width: 384px;
        height: 100%;
        background-color: #F2F2F2;
        border-radius: 10px;
        margin-right: 10px;


        >.top {
          width: 384px;
          height: 126px;
          display: flex;
          justify-content: center;
          align-items: center;

          span {
            display: block;
            font-size: 14px;
            text-align: center;
            line-height: 20px;
          }
        }

        >a {
          position: relative;
          left: 14px;

          >img {
            border-radius: 10px;
          }
        }

        >.mid {
          width: 370px;
          height: 106px;
          margin: 27px 0 0 14px;

          .text1 {
            font-weight: bolder;
          }

          >ul {
            margin-top: 10px;
            font-size: 14px;
            line-height: 20px;

            >li {
              padding-top: 10px;
              padding-right: 10px;

              >a:hover {
                color: #333333;
                text-decoration: none;
              }

              a>span {
                color: red;
              }
            }
          }
        }

        >.under {
          margin-top: 50px;
          display: flex;
          justify-content: space-evenly;

          a>div {
            font-size: 14px;
          }
        }
      }

    }

    .market {
      width: 1190px;
      height: 665px;

      >.top {

        margin-top: 20px;
        padding-left: 20px;
      }

      >.buttom {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;

        a {
          padding-top: 20px;

          .text1 {
            width: 220px;
            height: 24px;
            font-size: 14px;
            line-height: 24px;
            // padding-top: 10px;
            margin-top: 10px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          .text2 {
            font-size: 20px;
            padding-top: 10px;
            color: red;
          }
        }

        a:hover {
          text-decoration: none;
        }



      }
    }

    .inter {
      width: 1190px;
      height: 634px;

      >.top {
        margin-top: 20px;
        padding-left: 20px;
      }

      >.under {
        margin-top: 20px;
        display: flex;
        justify-content: space-evenly;

        .left {
          width: 222px;
          height: 634px;

          a {
            img {
              border-radius: 10px;
            }

            .img1 {
              margin-bottom: 30px;

            }
          }
        }

        .right {
          width: 937px;
          height: 632px;
          display: flex;
          justify-content: space-evenly;
          flex-wrap: wrap;

          a {
            padding-top: 20px;

            figcaption {
              width: 220px;
              height: 25px;
              margin-top: 10px;
            }

            .text2 {
              color: red;
              font-size: 20px;
            }
          }
        }
      }
    }

    .guess {
      width: 1190px;
      height: 820px;

      .top {
        padding-top: 100px;
        padding-left: 20px;
        display: flex;

        span {
          font-size: 22px;
        }

        div {
          font-size: 14px;
          color: white;
          width: 75px;
          height: 26px;
          background-color: red;
          padding-top: 5px;
          padding-left: 8px;
          margin-left: 10px;
          margin-top: 5px;
          border-radius: 20px;
        }
      }

      .buttom {
        
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;

        .items {
          list-style: none;
          overflow: hidden;
          width: 1190px;
          margin: 0 auto;
          margin-top: 30px;
          .item {
            width: 20%;
            float: left;
            padding: 10px;
            // margin: 10px;
            transition: all .4s;
            .picture{

              img{
                width: 220px;
                height: 220px;
                border-radius: 25px;
              }
            }
            .title {
              width: 220px;
              height: 24px;
              font-size: 14px;
              line-height: 24px;
              // padding-top: 10px;
              margin-top: 10px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
            a {
              text-decoration: none;
              color: black;
            }
  
            .price {
              font-size: 20px;
              padding-top: 10px;
              color: red;
            }
            &:hover {
              opacity: .6;
              a{
                text-decoration: none;
              }
            }
          }

            
            
  


  
        }

      }
    }
  }

}

footer {
  margin-top: 100px;
  background-color: #FFFFFF;

  .center {
    width: 1190px;

    .top {
      width: 100%;
      height: 100px;
      display: flex;
      justify-content: space-evenly;

      a {
        .row {
          width: 297px;
          height: 100px;

          .circle {
            width: 60px;
            height: 60px;
            border: 1px solid red;
            border-radius: 50%;
            float: left;
            font-size: 26px;
            font-weight: bolder;
            color: red;
            padding-left: 16px;
            padding-top: 12px;
            margin-top: 30px;
            margin-left: 30px;
          }

          .text1 {
            font-weight: 700;
            padding-top: 34px;
            padding-left: 10px;
          }

          .text2 {
            color: #999999;
          }
        }

        &:hover {
          text-decoration: none;
        }
      }
    }


    .buttom {
      border-top: 1px solid #999999;
      margin-top: 40px;
      display: flex;
      justify-content: space-between;

      .box {
        width: 186px;
        padding-top: 40px;

        h3 {
          font-weight: 700;
        }

        li {
          height: 30px;
          line-height: 24px;

          a {
            font-size: 12px;
          }
        }
      }
    }
  }
}